﻿using System;
using System.ComponentModel.DataAnnotations;

namespace SacNetUG.Models
{
    [MetadataType(typeof(ContentMd))]
    public partial class Content
    {
        internal class ContentMd
        {
            [Required(ErrorMessage = "Controller is Required")]
            public String Controller { get; set; }
            [Required(ErrorMessage = "Action is Required")]
            public String Action { get; set; }
            [Required(ErrorMessage = "HtmlContent is Required")]
            public String HtmlContent { get; set; }
            [Required(ErrorMessage = "PageTitle is Required")]
            public String PageTitle { get; set; }
            [Required(ErrorMessage = "PageHeader is Required")]
            public String PageHeader { get; set; }
        }
    }
}
